import request from '@/utils/request'

const api = {
	cardpackage: '/api/user/cardpackage',
	receivecoupon:'/api/user/receivecoupon',
	coupontype:'/api/user/coupontype'
}

// 提价券列表
export const cardpackage = param => {
  return request.get(api.cardpackage, param )
}

// 领取提价券
export const receivecoupon = param => {
  return request.post(api.receivecoupon, param )
}

// 提价券隐藏或展示
export const coupontype = param => {
  return request.get(api.coupontype, param )
}